package com.t.bricks.bussiness.db.entity.shiftarrange.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 排班表'ShiftArrange'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 */
@ApiModel("排班表ShiftArrange")
public class ShiftArrangeBase implements Serializable {

	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 编号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sId", sComment="编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=0 )
	@ApiModelProperty(value="编号", example="")
	//[end]
	protected String sId;

	/**
	 * 人员id
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sStaffId", sComment="人员id", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=1 )
	@ApiModelProperty(value="人员id", example="")
	//[end]
	protected String sStaffId;

	/**
	 * 部门id
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sDepartId", sComment="部门id", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=2 )
	@ApiModelProperty(value="部门id", example="")
	//[end]
	protected String sDepartId;

	/**
	 * 职务id
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sDutyId", sComment="职务id", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=3 )
	@ApiModelProperty(value="职务id", example="")
	//[end]
	protected String sDutyId;

	/**
	 * 人员所在组
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sStaffGroup", sComment="人员所在组", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=32, isDecimal=false, iIntegralLength=64, iDecimalLength=0, iIndex=4 )
	@ApiModelProperty(value="人员所在组", example="")
	//[end]
	protected String sStaffGroup;

	/**
	 * 排班时间
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sWorkDate", sComment="排班时间", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=16, isDecimal=false, iIntegralLength=16, iDecimalLength=0, iIndex=5 )
	@ApiModelProperty(value="排班时间", example="")
	//[end]
	protected String sWorkDate;

	/**
	 * 年(冗余)
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sYears", sComment="年(冗余)", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=6, isDecimal=false, iIntegralLength=12, iDecimalLength=0, iIndex=6 )
	@ApiModelProperty(value="年(冗余)", example="")
	//[end]
	protected String sYears;

	/**
	 * 月(冗余)
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sMonths", sComment="月(冗余)", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=4, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=7 )
	@ApiModelProperty(value="月(冗余)", example="")
	//[end]
	protected String sMonths;

	/**
	 * 班次
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sClasses", sComment="班次", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=400, iDecimalLength=0, iIndex=8 )
	@ApiModelProperty(value="班次", example="")
	//[end]
	protected String sClasses;

	/**
	 * 星期
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sWeekTime", sComment="星期", isDbField=true, sDbFileType="text",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=16, isDecimal=false, iIntegralLength=16, iDecimalLength=0, iIndex=9 )
	@ApiModelProperty(value="星期", example="")
	//[end]
	protected String sWeekTime;

	/**
	 * 排班统计
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sStatistics", sComment="排班统计", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=32, isDecimal=false, iIntegralLength=64, iDecimalLength=0, iIndex=10 )
	@ApiModelProperty(value="排班统计", example="")
	//[end]
	protected String sStatistics;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sMemo", sComment="备注", isDbField=true, sDbFileType="nvarchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=400, iDecimalLength=0, iIndex=11 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建人
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sCreator", sComment="创建人", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000000", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=12 )
	@ApiModelProperty(value="创建人", example="00000000")
	//[end]
	protected String sCreator;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="dCreateDate", sComment="创建时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="getdate", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=true, iIntegralLength=-1, iDecimalLength=-1, iIndex=13 )
	@ApiModelProperty(value="创建时间", example="getdate")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="sModifieder", sComment="修改人", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000000", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=8, iDecimalLength=0, iIndex=14 )
	@ApiModelProperty(value="修改人", example="00000000")
	//[end]
	protected String sModifieder;

	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="dModifiedDate", sComment="修改时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="getdate", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=true, iIntegralLength=-1, iDecimalLength=-1, iIndex=15 )
	@ApiModelProperty(value="修改时间", example="getdate")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="iState", sComment="状态", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=4, iDecimalLength=0, iIndex=16 )
	@ApiModelProperty(value="状态", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=4, iDecimalLength=0, iIndex=17 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="ShiftArrange", sName="iVersion", sComment="版本号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=4, iDecimalLength=0, iIndex=18 )
	@ApiModelProperty(value="版本号", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 编号
	 * @return String
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * 设置编号
	 * @param sId
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * 取 人员id
	 * @return String
	 */
	public String getsStaffId() {
		return sStaffId;
	}

	/**
	 * 设置人员id
	 * @param sStaffId
	 */
	public void setsStaffId(String sStaffId) {
		this.sStaffId = sStaffId;
	}

	/**
	 * 取 部门id
	 * @return String
	 */
	public String getsDepartId() {
		return sDepartId;
	}

	/**
	 * 设置部门id
	 * @param sDepartId
	 */
	public void setsDepartId(String sDepartId) {
		this.sDepartId = sDepartId;
	}

	/**
	 * 取 职务id
	 * @return String
	 */
	public String getsDutyId() {
		return sDutyId;
	}

	/**
	 * 设置职务id
	 * @param sDutyId
	 */
	public void setsDutyId(String sDutyId) {
		this.sDutyId = sDutyId;
	}

	/**
	 * 取 人员所在组
	 * @return String
	 */
	public String getsStaffGroup() {
		return sStaffGroup;
	}

	/**
	 * 设置人员所在组
	 * @param sStaffGroup
	 */
	public void setsStaffGroup(String sStaffGroup) {
		this.sStaffGroup = sStaffGroup;
	}

	/**
	 * 取 排班时间
	 * @return String
	 */
	public String getsWorkDate() {
		return sWorkDate;
	}

	/**
	 * 设置排班时间
	 * @param sWorkDate
	 */
	public void setsWorkDate(String sWorkDate) {
		this.sWorkDate = sWorkDate;
	}

	/**
	 * 取 年(冗余)
	 * @return String
	 */
	public String getsYears() {
		return sYears;
	}

	/**
	 * 设置年(冗余)
	 * @param sYears
	 */
	public void setsYears(String sYears) {
		this.sYears = sYears;
	}

	/**
	 * 取 月(冗余)
	 * @return String
	 */
	public String getsMonths() {
		return sMonths;
	}

	/**
	 * 设置月(冗余)
	 * @param sMonths
	 */
	public void setsMonths(String sMonths) {
		this.sMonths = sMonths;
	}

	/**
	 * 取 班次
	 * @return String
	 */
	public String getsClasses() {
		return sClasses;
	}

	/**
	 * 设置班次
	 * @param sClasses
	 */
	public void setsClasses(String sClasses) {
		this.sClasses = sClasses;
	}

	/**
	 * 取 星期
	 * @return String
	 */
	public String getsWeekTime() {
		return sWeekTime;
	}

	/**
	 * 设置星期
	 * @param sWeekTime
	 */
	public void setsWeekTime(String sWeekTime) {
		this.sWeekTime = sWeekTime;
	}

	/**
	 * 取 排班统计
	 * @return String
	 */
	public String getsStatistics() {
		return sStatistics;
	}

	/**
	 * 设置排班统计
	 * @param sStatistics
	 */
	public void setsStatistics(String sStatistics) {
		this.sStatistics = sStatistics;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建人
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建人
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建时间
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建时间
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改时间
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改时间
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本号
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本号
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
